package his.service;
import his.entity.ExpenseClass;
import org.example.his.common.api.CommonResponse;
import java.util.List;

public interface ExpenseClassService {
    //得到查询的数据
    CommonResponse<List<ExpenseClass>> get_select_expenseclass(String Keyword);

    //新增一条数据
    CommonResponse<ExpenseClass> insert_new_expenseclass(String ExpCode , String ExpName);
    //更新一条数据
    CommonResponse<ExpenseClass>  update_expenseclass( int id ,String ExpCode , String ExpName);

    CommonResponse<String> delete_expenseclass(Integer id);

}
